clear
set more off
cap log close
set logtype text


***** CHANGE TO OWN HOME DIRECTORY
global homedir "~/Dropbox/intgmob_AssortativeMating"
*******

global dodir "$homedir/ReplicationPackage/Appendix_A/stata_code"

/*** This file runs every stata file in order to create the tables in Appendix A. 
NOTE: to generate simulation output yourself for tables A5, A6, A7, A8, A10, A11, A12, you will need to run the R program
included in this package. This do file calls .dta files generated by the R simulation, which are included in this package 
for convenience. The simulations take many many hours to run.
*/

do "$dodir/00_TableA1.do"
/* Do files 01_TableA2_TableA4.do and 02_TableA3_TableA9.do must be run on NBER server*/
do "$dodir/03_TableA5_A6_A7_A8.do"
do "$dodir/04_TableA10_A11_A12.do"

